﻿using RAP.Framework.Libary.DataSource.Model.Attribute;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;

namespace RAP.Framework.Libary.DataSource.Model.Interceptor
{
    /// <summary>
    /// 
    /// </summary>
    public class InterceptorContext
    {
        /// <summary>
        /// 函数或属性的名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 当前函数或属性对象
        /// </summary>
        public MemberInfo MemberInfo { get; set; }

        /// <summary>
        /// 懒加载的属性
        /// </summary>
        public LazyloadAttribute LazyLoadAttr { get; set; }

        /// <summary>
        /// 是否是异步函数
        /// </summary>
        public bool IsAsync { get; set; }
    }
}
